package com.fernfx.xingtan.main.entity;

import com.fernfx.xingtan.common.base.BaseEntity;

import java.util.List;

/**
 * Created by admin on 2018/8/10.
 */

public class RobRedPacketEntity extends BaseEntity{

    /**
     * obj : {"range":1000,"totalSize":1,"pageSize":10,"totalPages":1,"pageNo":1,"records":[{"longitude":"121.389182","latitude":"31.22723","id":1}]}
     */

    private ObjBean obj;

    public ObjBean getObj() {
        return obj;
    }

    public void setObj(ObjBean obj) {
        this.obj = obj;
    }

    public static class ObjBean {
        /**
         * range : 1000
         * totalSize : 1
         * pageSize : 10
         * totalPages : 1
         * pageNo : 1
         * records : [{"longitude":"121.389182","latitude":"31.22723","id":1}]
         */

        private int range;
        private int totalSize;
        private int pageSize;
        private int totalPages;
        private int pageNo;
        private List<RecordsBean> records;

        public int getRange() {
            return range;
        }

        public void setRange(int range) {
            this.range = range;
        }

        public int getTotalSize() {
            return totalSize;
        }

        public void setTotalSize(int totalSize) {
            this.totalSize = totalSize;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getTotalPages() {
            return totalPages;
        }

        public void setTotalPages(int totalPages) {
            this.totalPages = totalPages;
        }

        public int getPageNo() {
            return pageNo;
        }

        public void setPageNo(int pageNo) {
            this.pageNo = pageNo;
        }

        public List<RecordsBean> getRecords() {
            return records;
        }

        public void setRecords(List<RecordsBean> records) {
            this.records = records;
        }

        public static class RecordsBean {
            /**
             * longitude : 121.389182
             * latitude : 31.22723
             * id : 1
             */

            private String longitude;
            private String latitude;
            private int id;

            public String getLongitude() {
                return longitude;
            }

            public void setLongitude(String longitude) {
                this.longitude = longitude;
            }

            public String getLatitude() {
                return latitude;
            }

            public void setLatitude(String latitude) {
                this.latitude = latitude;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }
        }
    }
}
